package org.jeecg.modules.lab.utensil.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.modules.lab.utensil.entity.LabUtensilChecklist;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @Description: 器具检测申请表
 * @Author: jeecg-boot
 * @Date:   2023-08-22
 * @Version: V1.0
 */
@Data
@ApiModel(value="lab_utensil_checkPage对象", description="器具检测申请表")
public class LabUtensilCheckPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**委托单编号*/
	@Excel(name = "委托单编号", width = 15 ,needMerge = true)
	@ApiModelProperty(value = "委托单编号")
    private String checkRef;
	/**委托时间*/
	@Excel(name = "委托时间", width = 15, format = "yyyy-MM-dd" ,needMerge = true)
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "委托时间")
    private Date checkDate;
	/**送检人*/
	@Excel(name = "送检人", width = 15,needMerge = true)
	@ApiModelProperty(value = "送检人")
    private String checkPer;
	/**部门*/
	@Excel(name = "部门", width = 15,needMerge = true)
	@ApiModelProperty(value = "部门")
    private String department;
	/**附件*/
	@Excel(name = "附件", width = 15,needMerge = true)
	@ApiModelProperty(value = "附件")
    private String annex;
	/**委托单状态*/
	@Excel(name = "委托单状态", width = 15)
	@ApiModelProperty(value = "委托单状态")
	private java.lang.String checkState;

	@ExcelCollection(name="器具检测详情清单")
	@ApiModelProperty(value = "器具检测详情清单")
	private List<LabUtensilChecklist> labUtensilChecklistList;

}
